{% extends 'stream/user/settings/base.html' %}


{% block extrahead %}<link rel="stylesheet" type="text/css" href="/media/stream/css/forms.css" />{% endblock %}

{% block content %}
{% block type %}<h2>Edit Profile</h2>{% endblock %}

{% if form.has_errors %}
<h2>Please correct the following error{{ form.error_dict|pluralize }}:</h2>
{% endif %}

{% block prefs %}

<div>
<fieldset class="object_form aligned">
        <form method="post" action=".">
                {% block form_items %}
		<div class="form_row">
			<label for="id_first_name">First Name:</label>{{ form.first_name }}
			{% if form.first_name.errors %}*** {{ form.first_name.errors|join:", " }}{% endif %}
		</div>
		<div class="form_row">
			<label for="id_last_name">Last Name:</label>{{ form.last_name }}
			{% if form.last_name.errors %}*** {{ form.last_name.errors|join:", " }}{% endif %}
		</div>
		<div class="form_row required">
			<label for="id_email">Email:</label>{{ form.email }}
			{% if form.email.errors %}*** {{ form.email.errors|join:", " }}{% endif %}
		</div>
		<div class="form_row">
			<label for="id_password">New Password:</label>{{ form.password }}
			{% if form.password.errors %}*** {{ form.password.errors|join:", " }}{% endif %}
		</div>
		<div class="form_row">
			<label for="id_password2">ReEnter Password:</label>{{ form.password2 }}
			{% if form.password2.errors %}*** {{ form.password2.errors|join:", " }}{% endif %}
		</div>
		<div class="form_row required">
			<label for="id_hidden">Hidden:</label>{{ form.hidden }}
			{% if form.hidden.errors %}*** {{ form.hidden.errors|join:", " }}{% endif %}
		</div>
                {% endblock %}
                <div class="submit_row">
                        {% block deletelink %}{% endblock %}
                        <input type="submit" value="save" />
                </div>
        </form>
</fieldset>
{% endblock %}
{% endblock %}
